package com.doone.telmarket.domain.service;

import java.util.List;

import com.doone.telmarket.domain.Service;
import com.doone.telmarket.domain.ServicePage;
/**
 * @package com.doone.telmarket.domain.ibator
 * @author 甘雨波
 * @description 增值业务操作服务层接口
 * @date 2009-9-17
 */
public interface ServiceOpration {

	
	/**操作页面上传数据及上传图片等**/
	public ServicePage oprationData(String serviceCode,String  serviceCodeType,String  serviceName,
			String serviceSummary,String  serviceCost, String spName, String serviceState, 
			String serviceTypeId, String serviceClassifyId, 
			String recommandGrade,String serviceContent,
			 String[] fileNames);
	/**根据类型查询增值业务**/
	public List<Service> selectServiceByType(String serviceType,String serviceClassify);
	/**保存增值业务**/
	public String saveService(ServicePage servicePage);
	/**根据ID查询增值业务**/
	public Service selectServiceById(String id);
	/**删除增值业务**/
	public int deleteServiceById(String id);
	/**根据增值业务ID查询增值业务PAGEBEAN**/
	public ServicePage selectServicePageByServiceId(String serviceId);
	/**更新增值业务**/
	public void updateService(ServicePage servicePage);
	
}
